package com.peak.spring.boot.api.constant;

import java.text.MessageFormat;

public enum SuccessMessage {

	SUCCESS("操作成功。"),

	;

	SuccessMessage(String message) {
		this.message = message;
	}

	private String message;

	public String getMessage(Object... args) {
		return MessageFormat.format(this.message, args);
	}
}
